module.exports = app => {
  const { STRING, CHAR } = app.Sequelize; // 获取数据类型
  const UserGroup = app.modelmysql.define('userGroup',
    {
      id: {
        type: CHAR(27),
        primaryKey: true,
      },
      name: STRING,
      tid: STRING,
    }
  );
  return UserGroup;
};
